<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
</head>
<body>
<textarea id="d"></textarea>
<button onclick="convert();">convert</button>
<script type="text/javascript">
function convert(){
    d.value = d.value.replace(/(yych (?:>=|<=|==|!=|<|>) )('\\.'|'[^']')/g, function (m, p1, p2){
        return p1 + (new Function('return '+ p2))().charCodeAt(0);
    });
}
</script>
</body>
</html>